package com.fmi.chesstern.pieces;

import java.util.ArrayList;

import com.fmi.chesstern.gameboard.GameBoard;
import com.fmi.chesstern.gameboard.GameField;
import com.fmi.chesstern.strategy.KnightStrategy;

public class Knight extends ChessPiece {

	public Knight(PieceColor color) {
		super(new KnightStrategy(), PieceType.KNIGHT, color);
	}

	@Override
	public ArrayList<GameField> getValidMoves(GameField currentPosition, GameBoard board) {
		return getStrategy().getValidMoves(currentPosition, board);
	}

}
